import Mock from 'mockjs';
export default {
  'POST /api/fsuType/add': (req, res) => {
    res.send({
      result: true,
      msg: null,
      data: {
        id: 5,
        name: '安徽2',
      },
      errorCode: null,
    });
  },
  'POST /api/fsuType/update': (req, res) => {
    res.send({
      result: true,
      msg: null,
      data: {
        id: 5,
        name: '安徽2',
      },
      errorCode: null,
    });
  },
  'DELETE /api/fsuType/:id': (req, res) => {
    res.send({
      result: true,
      msg: null,
      data: null,
      errorCode: null,
    });
  },
  'POST /api/fsuType/currentType/:id': (req, res) => {
    res.send({
      result: true,
      msg: null,
      data: null,
      errorCode: null,
    });
  },
  'GET /api/fsuType/all': (req, res) => {
    res.send({
      result: true,
      msg: null,
      data: [
        {
          id: 1,
          name: '浙江省FSU设备',
        },
        {
          id: 2,
          name: '广东省FSU设备',
        },
        {
          id: 3,
          name: '江苏省FSU设备',
        },
        {
          id: 4,
          name: '福建省FSU设备',
        },
        {
          id: 5,
          name: '山西省FSU设备',
        },
        {
          id: 6,
          name: '安徽省FSU设备',
        },
      ],
      errorCode: null,
    });
  },
};
